import request from "axios"

export function fetchList(){
  return request({
    url:"/api/allarticlesLists",
    method:"get"
  })
}

export function apiDel(id:number){
  return request({
    url:"/api/allarticlesLists",
    method:"delete",
    params:{id}
  })
}

export function allDel(data:{arr:any}){
  return request({
    url:"/api/allarticlesAllDel",
    method:"post",
    data:data
  })
}